import Mock from 'mockjs'

let data = Mock.mock({
    'cartList|3':[{
        'title':'@ctitle(4)',
        'id':'@id',
        'price|10-99':1,
        'checkflag':false,
        'num':1
    }]
})

export default {
    'GET /getCartList':function(req,res){
        res.json({
            data,
            code:200
        })
    }
}